<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aaa: XPushButtonFunction类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">aaa
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#properties">属性</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_x_push_button_function-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">XPushButtonFunction类 参考</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="xpushbuttonfunction_8h_source.html">xpushbuttonfunction.h</a>&gt;</code></p>
<div class="dynheader">
类 XPushButtonFunction 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_x_push_button_function__inherit__graph.png" border="0" usemap="#a_x_push_button_function_inherit__map" alt="Inheritance graph"/></div>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<div class="dynheader">
XPushButtonFunction 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="class_x_push_button_function__coll__graph.png" border="0" usemap="#a_x_push_button_function_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aeee4469c64ba20726102d918e97d77cd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#aeee4469c64ba20726102d918e97d77cd">XPushButtonFunction</a> (QWidget *parent=nullptr)</td></tr>
<tr class="separator:aeee4469c64ba20726102d918e97d77cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab17b9d1e733689bd31acec6a28f63808"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#ab17b9d1e733689bd31acec6a28f63808">~XPushButtonFunction</a> ()</td></tr>
<tr class="separator:ab17b9d1e733689bd31acec6a28f63808"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98b0f6fbb52002abf3c9f0b4679a9d34"><td class="memItemLeft" align="right" valign="top">QColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a98b0f6fbb52002abf3c9f0b4679a9d34">getBgDefaultColor</a> () const</td></tr>
<tr class="separator:a98b0f6fbb52002abf3c9f0b4679a9d34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfef88f09f2246648396f4c68ebe3455"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#abfef88f09f2246648396f4c68ebe3455">setBgDefaultColor</a> (QColor &amp;bgcol)</td></tr>
<tr class="separator:abfef88f09f2246648396f4c68ebe3455"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf3714c553d9d96eba86ecf23abecf49"><td class="memItemLeft" align="right" valign="top">QColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#acf3714c553d9d96eba86ecf23abecf49">getBgHoverColor</a> () const</td></tr>
<tr class="separator:acf3714c553d9d96eba86ecf23abecf49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f40b8e0d001b8cb18011c381446cf71"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a5f40b8e0d001b8cb18011c381446cf71">setBgHoverColor</a> (QColor &amp;bgcol)</td></tr>
<tr class="separator:a5f40b8e0d001b8cb18011c381446cf71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4412ccadcb4dcac2985504ff8d57a808"><td class="memItemLeft" align="right" valign="top">QColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a4412ccadcb4dcac2985504ff8d57a808">getBgPressedColor</a> () const</td></tr>
<tr class="separator:a4412ccadcb4dcac2985504ff8d57a808"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69f4044244cab382b87dfe21e1c16220"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a69f4044244cab382b87dfe21e1c16220">setBgPressedColor</a> (QColor &amp;bgcol)</td></tr>
<tr class="separator:a69f4044244cab382b87dfe21e1c16220"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52d4ae11886c7b71c15bd58f14082e4f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a52d4ae11886c7b71c15bd58f14082e4f">getDisplayEnable</a> () const</td></tr>
<tr class="separator:a52d4ae11886c7b71c15bd58f14082e4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff4d6fa4988bd0c4cc6a4fa566a6f94a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#aff4d6fa4988bd0c4cc6a4fa566a6f94a">setDisplayEnable</a> (bool)</td></tr>
<tr class="separator:aff4d6fa4988bd0c4cc6a4fa566a6f94a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19bbd1575b8fbab08bdbd69b085ee06c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a19bbd1575b8fbab08bdbd69b085ee06c">getPushButtonBoolStatus</a> () const</td></tr>
<tr class="memdesc:a19bbd1575b8fbab08bdbd69b085ee06c"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_x_push_button_function.html#a19bbd1575b8fbab08bdbd69b085ee06c" title="XPushButtonFunction::getPushButtonBoolStatus">XPushButtonFunction::getPushButtonBoolStatus</a>  <a href="class_x_push_button_function.html#a19bbd1575b8fbab08bdbd69b085ee06c">更多...</a><br /></td></tr>
<tr class="separator:a19bbd1575b8fbab08bdbd69b085ee06c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d6ce5ccf7a28cc08a71af08ca36b90b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a6d6ce5ccf7a28cc08a71af08ca36b90b">insertFunction</a> (const <a class="el" href="class_x_type.html#a3b2ee81c4e40b1984de53e4eb1d90023">XType::PushButtonStatus</a> status, <a class="el" href="class_x_function.html">XFunction</a> &amp;xFunction, <a class="el" href="xfunction_8h.html#afef433ae7eaa4880713115352c9e3718">Function</a> &amp;function)</td></tr>
<tr class="memdesc:a6d6ce5ccf7a28cc08a71af08ca36b90b"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_x_push_button_function.html#a6d6ce5ccf7a28cc08a71af08ca36b90b" title="XPushButtonFunction::insertFunction">XPushButtonFunction::insertFunction</a>  <a href="class_x_push_button_function.html#a6d6ce5ccf7a28cc08a71af08ca36b90b">更多...</a><br /></td></tr>
<tr class="separator:a6d6ce5ccf7a28cc08a71af08ca36b90b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2fb985f95c4d362b87c77a543ef6c56"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#ae2fb985f95c4d362b87c77a543ef6c56">deleteFunction</a> (const <a class="el" href="class_x_type.html#a3b2ee81c4e40b1984de53e4eb1d90023">XType::PushButtonStatus</a> status, const int index)</td></tr>
<tr class="memdesc:ae2fb985f95c4d362b87c77a543ef6c56"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_x_push_button_function.html#ae2fb985f95c4d362b87c77a543ef6c56" title="XPushButtonFunction::deleteFunction">XPushButtonFunction::deleteFunction</a>  <a href="class_x_push_button_function.html#ae2fb985f95c4d362b87c77a543ef6c56">更多...</a><br /></td></tr>
<tr class="separator:ae2fb985f95c4d362b87c77a543ef6c56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b982565dc4f88af5d4d94823f1df1b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a1b982565dc4f88af5d4d94823f1df1b0">traversalPressInstanceMap</a> ()</td></tr>
<tr class="memdesc:a1b982565dc4f88af5d4d94823f1df1b0"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_x_push_button_function.html#a1b982565dc4f88af5d4d94823f1df1b0" title="XPushButtonFunction::traversalPressInstanceMap">XPushButtonFunction::traversalPressInstanceMap</a>  <a href="class_x_push_button_function.html#a1b982565dc4f88af5d4d94823f1df1b0">更多...</a><br /></td></tr>
<tr class="separator:a1b982565dc4f88af5d4d94823f1df1b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bdd78590e989227d2a8733c7f852839"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a9bdd78590e989227d2a8733c7f852839">traversalPressStatusMap</a> ()</td></tr>
<tr class="memdesc:a9bdd78590e989227d2a8733c7f852839"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_x_push_button_function.html#a9bdd78590e989227d2a8733c7f852839" title="XPushButtonFunction::traversalPressStatusMap">XPushButtonFunction::traversalPressStatusMap</a>  <a href="class_x_push_button_function.html#a9bdd78590e989227d2a8733c7f852839">更多...</a><br /></td></tr>
<tr class="separator:a9bdd78590e989227d2a8733c7f852839"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab38fec60591d5f59393ebc4fc7806b0a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#ab38fec60591d5f59393ebc4fc7806b0a">traversalReleaseInstanceMap</a> ()</td></tr>
<tr class="memdesc:ab38fec60591d5f59393ebc4fc7806b0a"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_x_push_button_function.html#ab38fec60591d5f59393ebc4fc7806b0a" title="XPushButtonFunction::traversalReleaseInstanceMap">XPushButtonFunction::traversalReleaseInstanceMap</a>  <a href="class_x_push_button_function.html#ab38fec60591d5f59393ebc4fc7806b0a">更多...</a><br /></td></tr>
<tr class="separator:ab38fec60591d5f59393ebc4fc7806b0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a840bf108be92085136f00f88d9f647"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a1a840bf108be92085136f00f88d9f647">traversalReleaseStatusMap</a> ()</td></tr>
<tr class="memdesc:a1a840bf108be92085136f00f88d9f647"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_x_push_button_function.html#a1a840bf108be92085136f00f88d9f647" title="XPushButtonFunction::traversalReleaseStatusMap">XPushButtonFunction::traversalReleaseStatusMap</a>  <a href="class_x_push_button_function.html#a1a840bf108be92085136f00f88d9f647">更多...</a><br /></td></tr>
<tr class="separator:a1a840bf108be92085136f00f88d9f647"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb33f159d6433ae0cd92c9ccf48e4ab7"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#adb33f159d6433ae0cd92c9ccf48e4ab7">ColorConvertToString</a> (const QColor &amp;color, const QString type)</td></tr>
<tr class="memdesc:adb33f159d6433ae0cd92c9ccf48e4ab7"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_x_push_button_function.html#adb33f159d6433ae0cd92c9ccf48e4ab7" title="XPushButtonFunction::ColorConvertToString">XPushButtonFunction::ColorConvertToString</a>  <a href="class_x_push_button_function.html#adb33f159d6433ae0cd92c9ccf48e4ab7">更多...</a><br /></td></tr>
<tr class="separator:adb33f159d6433ae0cd92c9ccf48e4ab7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a285e4ef51c2f201fd1d7e23e46a07431"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a285e4ef51c2f201fd1d7e23e46a07431">paintEvent</a> (QPaintEvent *ev) override</td></tr>
<tr class="separator:a285e4ef51c2f201fd1d7e23e46a07431"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40ae617de2f37aef945f217f3b5f2576"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a40ae617de2f37aef945f217f3b5f2576">enterEvent</a> (QEvent *ev) override</td></tr>
<tr class="memdesc:a40ae617de2f37aef945f217f3b5f2576"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_x_push_button_function.html#a40ae617de2f37aef945f217f3b5f2576" title="XPushButtonFunction::enterEvent">XPushButtonFunction::enterEvent</a>  <a href="class_x_push_button_function.html#a40ae617de2f37aef945f217f3b5f2576">更多...</a><br /></td></tr>
<tr class="separator:a40ae617de2f37aef945f217f3b5f2576"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a0a959b56d46a4381e178f9dba08dfe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a7a0a959b56d46a4381e178f9dba08dfe">leaveEvent</a> (QEvent *ev) override</td></tr>
<tr class="memdesc:a7a0a959b56d46a4381e178f9dba08dfe"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_x_push_button_function.html#a7a0a959b56d46a4381e178f9dba08dfe" title="XPushButtonFunction::leaveEvent">XPushButtonFunction::leaveEvent</a>  <a href="class_x_push_button_function.html#a7a0a959b56d46a4381e178f9dba08dfe">更多...</a><br /></td></tr>
<tr class="separator:a7a0a959b56d46a4381e178f9dba08dfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb20c5ec53710db19fd33f46a8404712"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#adb20c5ec53710db19fd33f46a8404712">mousePressEvent</a> (QMouseEvent *ev) override</td></tr>
<tr class="memdesc:adb20c5ec53710db19fd33f46a8404712"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_x_push_button_function.html#adb20c5ec53710db19fd33f46a8404712" title="XPushButtonFunction::mousePressEvent">XPushButtonFunction::mousePressEvent</a>  <a href="class_x_push_button_function.html#adb20c5ec53710db19fd33f46a8404712">更多...</a><br /></td></tr>
<tr class="separator:adb20c5ec53710db19fd33f46a8404712"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81621c11e7a9214627df2e2c72d9e875"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a81621c11e7a9214627df2e2c72d9e875">mouseReleaseEvent</a> (QMouseEvent *ev) override</td></tr>
<tr class="memdesc:a81621c11e7a9214627df2e2c72d9e875"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_x_push_button_function.html#a81621c11e7a9214627df2e2c72d9e875" title="XPushButtonFunction::mouseReleaseEvent">XPushButtonFunction::mouseReleaseEvent</a>  <a href="class_x_push_button_function.html#a81621c11e7a9214627df2e2c72d9e875">更多...</a><br /></td></tr>
<tr class="separator:a81621c11e7a9214627df2e2c72d9e875"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43ad5ccc4d68da890410452092a4792d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a43ad5ccc4d68da890410452092a4792d">mouseMoveEvent</a> (QMouseEvent *ev) override</td></tr>
<tr class="memdesc:a43ad5ccc4d68da890410452092a4792d"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_x_push_button_function.html#a43ad5ccc4d68da890410452092a4792d" title="XPushButtonFunction::mouseMoveEvent">XPushButtonFunction::mouseMoveEvent</a>  <a href="class_x_push_button_function.html#a43ad5ccc4d68da890410452092a4792d">更多...</a><br /></td></tr>
<tr class="separator:a43ad5ccc4d68da890410452092a4792d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="properties" name="properties"></a>
属性</h2></td></tr>
<tr class="memitem:a5d832818fae45cc041aeb82e708bf07b"><td class="memItemLeft" align="right" valign="top">QColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a5d832818fae45cc041aeb82e708bf07b">bgDefaultColor</a></td></tr>
<tr class="memdesc:a5d832818fae45cc041aeb82e708bf07b"><td class="mdescLeft">&#160;</td><td class="mdescRight">control the background's defaultColor  <a href="class_x_push_button_function.html#a5d832818fae45cc041aeb82e708bf07b">更多...</a><br /></td></tr>
<tr class="separator:a5d832818fae45cc041aeb82e708bf07b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04e160ea6f188313b4aa257802d10437"><td class="memItemLeft" align="right" valign="top">QColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a04e160ea6f188313b4aa257802d10437">bgHoverColor</a></td></tr>
<tr class="memdesc:a04e160ea6f188313b4aa257802d10437"><td class="mdescLeft">&#160;</td><td class="mdescRight">control the background's bgHoverColor  <a href="class_x_push_button_function.html#a04e160ea6f188313b4aa257802d10437">更多...</a><br /></td></tr>
<tr class="separator:a04e160ea6f188313b4aa257802d10437"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44bc9ae53d6abaa988e035ebd732c7ea"><td class="memItemLeft" align="right" valign="top">QColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a44bc9ae53d6abaa988e035ebd732c7ea">bgPressedColor</a></td></tr>
<tr class="memdesc:a44bc9ae53d6abaa988e035ebd732c7ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">control the background's bgPressedColor  <a href="class_x_push_button_function.html#a44bc9ae53d6abaa988e035ebd732c7ea">更多...</a><br /></td></tr>
<tr class="separator:a44bc9ae53d6abaa988e035ebd732c7ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35d6ac2144ee758b7b7030be2ee6e944"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a35d6ac2144ee758b7b7030be2ee6e944">displayEnable</a></td></tr>
<tr class="memdesc:a35d6ac2144ee758b7b7030be2ee6e944"><td class="mdescLeft">&#160;</td><td class="mdescRight">control the MyLabel whether or not display  <a href="class_x_push_button_function.html#a35d6ac2144ee758b7b7030be2ee6e944">更多...</a><br /></td></tr>
<tr class="separator:a35d6ac2144ee758b7b7030be2ee6e944"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:abc84043ed8534e01d989ab65806f4046"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_x_push_button_function_private.html">XPushButtonFunctionPrivate</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#abc84043ed8534e01d989ab65806f4046">d</a></td></tr>
<tr class="separator:abc84043ed8534e01d989ab65806f4046"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeff7838d2da18f17e08c69b46f41c95a"><td class="memItemLeft" align="right" valign="top">QMutex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#aeff7838d2da18f17e08c69b46f41c95a">mutex</a></td></tr>
<tr class="separator:aeff7838d2da18f17e08c69b46f41c95a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79a2057ba68da576f0369573e415ce6a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_x_push_button_function_worker.html">XPushButtonFunctionWorker</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a79a2057ba68da576f0369573e415ce6a">worker</a></td></tr>
<tr class="separator:a79a2057ba68da576f0369573e415ce6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53cda5f9e47a618b114f5b36181f2b60"><td class="memItemLeft" align="right" valign="top">QThread *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a53cda5f9e47a618b114f5b36181f2b60">workerThread</a></td></tr>
<tr class="separator:a53cda5f9e47a618b114f5b36181f2b60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c6b8b45ffdda8456b4d1e645d5c4952"><td class="memItemLeft" align="right" valign="top">QMap&lt; int, <a class="el" href="class_x_function.html">XFunction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a9c6b8b45ffdda8456b4d1e645d5c4952">pressInstanceXFunctionMap</a></td></tr>
<tr class="separator:a9c6b8b45ffdda8456b4d1e645d5c4952"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09d279e3cdcd5320fb7df6b6d2958edd"><td class="memItemLeft" align="right" valign="top">QMap&lt; int, <a class="el" href="xfunction_8h.html#afef433ae7eaa4880713115352c9e3718">Function</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a09d279e3cdcd5320fb7df6b6d2958edd">pressInstanceFunctionMap</a></td></tr>
<tr class="separator:a09d279e3cdcd5320fb7df6b6d2958edd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a575fdd05b81df87f1c8b6cfb536c167b"><td class="memItemLeft" align="right" valign="top">QMap&lt; int, <a class="el" href="class_x_function.html">XFunction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a575fdd05b81df87f1c8b6cfb536c167b">pressStatusXFunctionMap</a></td></tr>
<tr class="separator:a575fdd05b81df87f1c8b6cfb536c167b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f867ac304fe39e046141e0e04edb700"><td class="memItemLeft" align="right" valign="top">QMap&lt; int, <a class="el" href="xfunction_8h.html#afef433ae7eaa4880713115352c9e3718">Function</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a7f867ac304fe39e046141e0e04edb700">pressStatusFunctionMap</a></td></tr>
<tr class="separator:a7f867ac304fe39e046141e0e04edb700"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf9ff28b84edb9fc9ff0c04857a03d65"><td class="memItemLeft" align="right" valign="top">QMap&lt; int, <a class="el" href="class_x_function.html">XFunction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#acf9ff28b84edb9fc9ff0c04857a03d65">releaseInstanceXFunctionMap</a></td></tr>
<tr class="separator:acf9ff28b84edb9fc9ff0c04857a03d65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8890c4ed4f3c9d486dc5072df5b024b"><td class="memItemLeft" align="right" valign="top">QMap&lt; int, <a class="el" href="xfunction_8h.html#afef433ae7eaa4880713115352c9e3718">Function</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#ad8890c4ed4f3c9d486dc5072df5b024b">releaseInstanceFunctionMap</a></td></tr>
<tr class="separator:ad8890c4ed4f3c9d486dc5072df5b024b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad90d47222be3047d6d3bdc0a4ef4fb4a"><td class="memItemLeft" align="right" valign="top">QMap&lt; int, <a class="el" href="class_x_function.html">XFunction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#ad90d47222be3047d6d3bdc0a4ef4fb4a">releaseStatusXFunctionMap</a></td></tr>
<tr class="separator:ad90d47222be3047d6d3bdc0a4ef4fb4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c4e9520198895184be3ca9f58043931"><td class="memItemLeft" align="right" valign="top">QMap&lt; int, <a class="el" href="xfunction_8h.html#afef433ae7eaa4880713115352c9e3718">Function</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_push_button_function.html#a0c4e9520198895184be3ca9f58043931">releaseStatusFunctionMap</a></td></tr>
<tr class="separator:a0c4e9520198895184be3ca9f58043931"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="aeee4469c64ba20726102d918e97d77cd" name="aeee4469c64ba20726102d918e97d77cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeee4469c64ba20726102d918e97d77cd">&#9670;&nbsp;</a></span>XPushButtonFunction()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">XPushButtonFunction::XPushButtonFunction </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab17b9d1e733689bd31acec6a28f63808" name="ab17b9d1e733689bd31acec6a28f63808"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab17b9d1e733689bd31acec6a28f63808">&#9670;&nbsp;</a></span>~XPushButtonFunction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XPushButtonFunction::~XPushButtonFunction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="adb33f159d6433ae0cd92c9ccf48e4ab7" name="adb33f159d6433ae0cd92c9ccf48e4ab7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb33f159d6433ae0cd92c9ccf48e4ab7">&#9670;&nbsp;</a></span>ColorConvertToString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString XPushButtonFunction::ColorConvertToString </td>
          <td>(</td>
          <td class="paramtype">const QColor &amp;&#160;</td>
          <td class="paramname"><em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="class_x_push_button_function.html#adb33f159d6433ae0cd92c9ccf48e4ab7" title="XPushButtonFunction::ColorConvertToString">XPushButtonFunction::ColorConvertToString</a> </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">color</td><td></td></tr>
    <tr><td class="paramname">type</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="ae2fb985f95c4d362b87c77a543ef6c56" name="ae2fb985f95c4d362b87c77a543ef6c56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2fb985f95c4d362b87c77a543ef6c56">&#9670;&nbsp;</a></span>deleteFunction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XPushButtonFunction::deleteFunction </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_x_type.html#a3b2ee81c4e40b1984de53e4eb1d90023">XType::PushButtonStatus</a>&#160;</td>
          <td class="paramname"><em>status</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="class_x_push_button_function.html#ae2fb985f95c4d362b87c77a543ef6c56" title="XPushButtonFunction::deleteFunction">XPushButtonFunction::deleteFunction</a> </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td></td></tr>
    <tr><td class="paramname">index</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a40ae617de2f37aef945f217f3b5f2576" name="a40ae617de2f37aef945f217f3b5f2576"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40ae617de2f37aef945f217f3b5f2576">&#9670;&nbsp;</a></span>enterEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XPushButtonFunction::enterEvent </td>
          <td>(</td>
          <td class="paramtype">QEvent *&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="class_x_push_button_function.html#a40ae617de2f37aef945f217f3b5f2576" title="XPushButtonFunction::enterEvent">XPushButtonFunction::enterEvent</a> </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ev</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a98b0f6fbb52002abf3c9f0b4679a9d34" name="a98b0f6fbb52002abf3c9f0b4679a9d34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98b0f6fbb52002abf3c9f0b4679a9d34">&#9670;&nbsp;</a></span>getBgDefaultColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QColor XPushButtonFunction::getBgDefaultColor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acf3714c553d9d96eba86ecf23abecf49" name="acf3714c553d9d96eba86ecf23abecf49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf3714c553d9d96eba86ecf23abecf49">&#9670;&nbsp;</a></span>getBgHoverColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QColor XPushButtonFunction::getBgHoverColor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4412ccadcb4dcac2985504ff8d57a808" name="a4412ccadcb4dcac2985504ff8d57a808"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4412ccadcb4dcac2985504ff8d57a808">&#9670;&nbsp;</a></span>getBgPressedColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QColor XPushButtonFunction::getBgPressedColor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a52d4ae11886c7b71c15bd58f14082e4f" name="a52d4ae11886c7b71c15bd58f14082e4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52d4ae11886c7b71c15bd58f14082e4f">&#9670;&nbsp;</a></span>getDisplayEnable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XPushButtonFunction::getDisplayEnable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a19bbd1575b8fbab08bdbd69b085ee06c" name="a19bbd1575b8fbab08bdbd69b085ee06c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19bbd1575b8fbab08bdbd69b085ee06c">&#9670;&nbsp;</a></span>getPushButtonBoolStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XPushButtonFunction::getPushButtonBoolStatus </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="class_x_push_button_function.html#a19bbd1575b8fbab08bdbd69b085ee06c" title="XPushButtonFunction::getPushButtonBoolStatus">XPushButtonFunction::getPushButtonBoolStatus</a> </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a6d6ce5ccf7a28cc08a71af08ca36b90b" name="a6d6ce5ccf7a28cc08a71af08ca36b90b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d6ce5ccf7a28cc08a71af08ca36b90b">&#9670;&nbsp;</a></span>insertFunction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XPushButtonFunction::insertFunction </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_x_type.html#a3b2ee81c4e40b1984de53e4eb1d90023">XType::PushButtonStatus</a>&#160;</td>
          <td class="paramname"><em>status</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_x_function.html">XFunction</a> &amp;&#160;</td>
          <td class="paramname"><em>xFunction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xfunction_8h.html#afef433ae7eaa4880713115352c9e3718">Function</a> &amp;&#160;</td>
          <td class="paramname"><em>function</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="class_x_push_button_function.html#a6d6ce5ccf7a28cc08a71af08ca36b90b" title="XPushButtonFunction::insertFunction">XPushButtonFunction::insertFunction</a> </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td></td></tr>
    <tr><td class="paramname">func</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7a0a959b56d46a4381e178f9dba08dfe" name="a7a0a959b56d46a4381e178f9dba08dfe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a0a959b56d46a4381e178f9dba08dfe">&#9670;&nbsp;</a></span>leaveEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XPushButtonFunction::leaveEvent </td>
          <td>(</td>
          <td class="paramtype">QEvent *&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="class_x_push_button_function.html#a7a0a959b56d46a4381e178f9dba08dfe" title="XPushButtonFunction::leaveEvent">XPushButtonFunction::leaveEvent</a> </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ev</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a43ad5ccc4d68da890410452092a4792d" name="a43ad5ccc4d68da890410452092a4792d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43ad5ccc4d68da890410452092a4792d">&#9670;&nbsp;</a></span>mouseMoveEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XPushButtonFunction::mouseMoveEvent </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="class_x_push_button_function.html#a43ad5ccc4d68da890410452092a4792d" title="XPushButtonFunction::mouseMoveEvent">XPushButtonFunction::mouseMoveEvent</a> </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ev</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="adb20c5ec53710db19fd33f46a8404712" name="adb20c5ec53710db19fd33f46a8404712"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb20c5ec53710db19fd33f46a8404712">&#9670;&nbsp;</a></span>mousePressEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XPushButtonFunction::mousePressEvent </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="class_x_push_button_function.html#adb20c5ec53710db19fd33f46a8404712" title="XPushButtonFunction::mousePressEvent">XPushButtonFunction::mousePressEvent</a> </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ev</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a81621c11e7a9214627df2e2c72d9e875" name="a81621c11e7a9214627df2e2c72d9e875"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81621c11e7a9214627df2e2c72d9e875">&#9670;&nbsp;</a></span>mouseReleaseEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XPushButtonFunction::mouseReleaseEvent </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="class_x_push_button_function.html#a81621c11e7a9214627df2e2c72d9e875" title="XPushButtonFunction::mouseReleaseEvent">XPushButtonFunction::mouseReleaseEvent</a> </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ev</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a285e4ef51c2f201fd1d7e23e46a07431" name="a285e4ef51c2f201fd1d7e23e46a07431"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a285e4ef51c2f201fd1d7e23e46a07431">&#9670;&nbsp;</a></span>paintEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XPushButtonFunction::paintEvent </td>
          <td>(</td>
          <td class="paramtype">QPaintEvent *&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >\reimp </p>

</div>
</div>
<a id="abfef88f09f2246648396f4c68ebe3455" name="abfef88f09f2246648396f4c68ebe3455"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abfef88f09f2246648396f4c68ebe3455">&#9670;&nbsp;</a></span>setBgDefaultColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XPushButtonFunction::setBgDefaultColor </td>
          <td>(</td>
          <td class="paramtype">QColor &amp;&#160;</td>
          <td class="paramname"><em>bgcol</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5f40b8e0d001b8cb18011c381446cf71" name="a5f40b8e0d001b8cb18011c381446cf71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f40b8e0d001b8cb18011c381446cf71">&#9670;&nbsp;</a></span>setBgHoverColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XPushButtonFunction::setBgHoverColor </td>
          <td>(</td>
          <td class="paramtype">QColor &amp;&#160;</td>
          <td class="paramname"><em>bgcol</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a69f4044244cab382b87dfe21e1c16220" name="a69f4044244cab382b87dfe21e1c16220"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69f4044244cab382b87dfe21e1c16220">&#9670;&nbsp;</a></span>setBgPressedColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XPushButtonFunction::setBgPressedColor </td>
          <td>(</td>
          <td class="paramtype">QColor &amp;&#160;</td>
          <td class="paramname"><em>bgcol</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aff4d6fa4988bd0c4cc6a4fa566a6f94a" name="aff4d6fa4988bd0c4cc6a4fa566a6f94a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff4d6fa4988bd0c4cc6a4fa566a6f94a">&#9670;&nbsp;</a></span>setDisplayEnable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XPushButtonFunction::setDisplayEnable </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>displayEnabl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a1b982565dc4f88af5d4d94823f1df1b0" name="a1b982565dc4f88af5d4d94823f1df1b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b982565dc4f88af5d4d94823f1df1b0">&#9670;&nbsp;</a></span>traversalPressInstanceMap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XPushButtonFunction::traversalPressInstanceMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="class_x_push_button_function.html#a1b982565dc4f88af5d4d94823f1df1b0" title="XPushButtonFunction::traversalPressInstanceMap">XPushButtonFunction::traversalPressInstanceMap</a> </p>
<pre class="fragment"> \brief XPushButtonFunction::moveUpFunction
 \param status
 \param index
&amp;zwj;/
</pre><p> void XPushButtonFunction::moveUpFunction(const XType::PushButtonStatus status, const int index) { //声明一个map容器 QMap&lt;int, XFunction&gt; xFunctionMap; QMap&lt;int, Function&gt; functionMap; //根据状态选择函数列表 switch(status) { case <a class="el" href="class_x_type.html#a3b2ee81c4e40b1984de53e4eb1d90023abd9e66029af2000dbe7e6313353808e8">XType::PressInstance</a>: { xFunctionMap = pressInstanceXFunctionMap; functionMap = pressInstanceFunctionMap; break; } case <a class="el" href="class_x_type.html#a3b2ee81c4e40b1984de53e4eb1d90023a8366995e4674f60fb461294fb6852b7d">XType::PressStatus</a>: { xFunctionMap = pressStatusXFunctionMap; functionMap = pressStatusFunctionMap; break; } case <a class="el" href="class_x_type.html#a3b2ee81c4e40b1984de53e4eb1d90023a1ecf977e6dd451df45426d983ba7547a">XType::ReleaseInstance</a>: { xFunctionMap = releaseInstanceXFunctionMap; functionMap = releaseInstanceFunctionMap; break; } case <a class="el" href="class_x_type.html#a3b2ee81c4e40b1984de53e4eb1d90023aadf3bd9882f0e2d977c7af14c76d79eb">XType::ReleaseStatus</a>: { xFunctionMap = releaseStatusXFunctionMap; functionMap = releaseStatusFunctionMap; break; } }</p>
<p >//查找删除项并上移 QMap&lt;int, XFunction&gt; ::iterator i = xFunctionMap.begin(); QMap&lt;int, Function&gt; ::iterator j = functionMap.begin();</p>
<p >(i.key())</p>
<p >}</p>
<p >/*! </p>

</div>
</div>
<a id="a9bdd78590e989227d2a8733c7f852839" name="a9bdd78590e989227d2a8733c7f852839"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bdd78590e989227d2a8733c7f852839">&#9670;&nbsp;</a></span>traversalPressStatusMap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XPushButtonFunction::traversalPressStatusMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="class_x_push_button_function.html#a9bdd78590e989227d2a8733c7f852839" title="XPushButtonFunction::traversalPressStatusMap">XPushButtonFunction::traversalPressStatusMap</a> </p>

</div>
</div>
<a id="ab38fec60591d5f59393ebc4fc7806b0a" name="ab38fec60591d5f59393ebc4fc7806b0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab38fec60591d5f59393ebc4fc7806b0a">&#9670;&nbsp;</a></span>traversalReleaseInstanceMap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XPushButtonFunction::traversalReleaseInstanceMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="class_x_push_button_function.html#ab38fec60591d5f59393ebc4fc7806b0a" title="XPushButtonFunction::traversalReleaseInstanceMap">XPushButtonFunction::traversalReleaseInstanceMap</a> </p>

</div>
</div>
<a id="a1a840bf108be92085136f00f88d9f647" name="a1a840bf108be92085136f00f88d9f647"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a840bf108be92085136f00f88d9f647">&#9670;&nbsp;</a></span>traversalReleaseStatusMap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XPushButtonFunction::traversalReleaseStatusMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="class_x_push_button_function.html#a1a840bf108be92085136f00f88d9f647" title="XPushButtonFunction::traversalReleaseStatusMap">XPushButtonFunction::traversalReleaseStatusMap</a> </p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="abc84043ed8534e01d989ab65806f4046" name="abc84043ed8534e01d989ab65806f4046"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc84043ed8534e01d989ab65806f4046">&#9670;&nbsp;</a></span>d</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_x_push_button_function_private.html">XPushButtonFunctionPrivate</a>* XPushButtonFunction::d</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aeff7838d2da18f17e08c69b46f41c95a" name="aeff7838d2da18f17e08c69b46f41c95a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeff7838d2da18f17e08c69b46f41c95a">&#9670;&nbsp;</a></span>mutex</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QMutex XPushButtonFunction::mutex</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a09d279e3cdcd5320fb7df6b6d2958edd" name="a09d279e3cdcd5320fb7df6b6d2958edd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09d279e3cdcd5320fb7df6b6d2958edd">&#9670;&nbsp;</a></span>pressInstanceFunctionMap</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QMap&lt;int, <a class="el" href="xfunction_8h.html#afef433ae7eaa4880713115352c9e3718">Function</a>&gt; XPushButtonFunction::pressInstanceFunctionMap</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a9c6b8b45ffdda8456b4d1e645d5c4952" name="a9c6b8b45ffdda8456b4d1e645d5c4952"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c6b8b45ffdda8456b4d1e645d5c4952">&#9670;&nbsp;</a></span>pressInstanceXFunctionMap</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QMap&lt;int, <a class="el" href="class_x_function.html">XFunction</a>&gt; XPushButtonFunction::pressInstanceXFunctionMap</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a7f867ac304fe39e046141e0e04edb700" name="a7f867ac304fe39e046141e0e04edb700"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f867ac304fe39e046141e0e04edb700">&#9670;&nbsp;</a></span>pressStatusFunctionMap</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QMap&lt;int, <a class="el" href="xfunction_8h.html#afef433ae7eaa4880713115352c9e3718">Function</a>&gt; XPushButtonFunction::pressStatusFunctionMap</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a575fdd05b81df87f1c8b6cfb536c167b" name="a575fdd05b81df87f1c8b6cfb536c167b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a575fdd05b81df87f1c8b6cfb536c167b">&#9670;&nbsp;</a></span>pressStatusXFunctionMap</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QMap&lt;int, <a class="el" href="class_x_function.html">XFunction</a>&gt; XPushButtonFunction::pressStatusXFunctionMap</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad8890c4ed4f3c9d486dc5072df5b024b" name="ad8890c4ed4f3c9d486dc5072df5b024b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8890c4ed4f3c9d486dc5072df5b024b">&#9670;&nbsp;</a></span>releaseInstanceFunctionMap</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QMap&lt;int, <a class="el" href="xfunction_8h.html#afef433ae7eaa4880713115352c9e3718">Function</a>&gt; XPushButtonFunction::releaseInstanceFunctionMap</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="acf9ff28b84edb9fc9ff0c04857a03d65" name="acf9ff28b84edb9fc9ff0c04857a03d65"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf9ff28b84edb9fc9ff0c04857a03d65">&#9670;&nbsp;</a></span>releaseInstanceXFunctionMap</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QMap&lt;int, <a class="el" href="class_x_function.html">XFunction</a>&gt; XPushButtonFunction::releaseInstanceXFunctionMap</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0c4e9520198895184be3ca9f58043931" name="a0c4e9520198895184be3ca9f58043931"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c4e9520198895184be3ca9f58043931">&#9670;&nbsp;</a></span>releaseStatusFunctionMap</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QMap&lt;int, <a class="el" href="xfunction_8h.html#afef433ae7eaa4880713115352c9e3718">Function</a>&gt; XPushButtonFunction::releaseStatusFunctionMap</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad90d47222be3047d6d3bdc0a4ef4fb4a" name="ad90d47222be3047d6d3bdc0a4ef4fb4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad90d47222be3047d6d3bdc0a4ef4fb4a">&#9670;&nbsp;</a></span>releaseStatusXFunctionMap</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QMap&lt;int, <a class="el" href="class_x_function.html">XFunction</a>&gt; XPushButtonFunction::releaseStatusXFunctionMap</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a79a2057ba68da576f0369573e415ce6a" name="a79a2057ba68da576f0369573e415ce6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79a2057ba68da576f0369573e415ce6a">&#9670;&nbsp;</a></span>worker</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_x_push_button_function_worker.html">XPushButtonFunctionWorker</a>* XPushButtonFunction::worker</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a53cda5f9e47a618b114f5b36181f2b60" name="a53cda5f9e47a618b114f5b36181f2b60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53cda5f9e47a618b114f5b36181f2b60">&#9670;&nbsp;</a></span>workerThread</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QThread* XPushButtonFunction::workerThread</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">属性说明</h2>
<a id="a5d832818fae45cc041aeb82e708bf07b" name="a5d832818fae45cc041aeb82e708bf07b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d832818fae45cc041aeb82e708bf07b">&#9670;&nbsp;</a></span>bgDefaultColor</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">XPushButtonFunction::bgDefaultColor</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>control the background's defaultColor </p>
<p >The default bgDefaultColor is qRgba(255,178,0,100).</p>
<dl class="section see"><dt>参见</dt><dd>indent </dd></dl>

</div>
</div>
<a id="a04e160ea6f188313b4aa257802d10437" name="a04e160ea6f188313b4aa257802d10437"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04e160ea6f188313b4aa257802d10437">&#9670;&nbsp;</a></span>bgHoverColor</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">XPushButtonFunction::bgHoverColor</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>control the background's bgHoverColor </p>
<p >The default bgHoverColor is qRgba(255,235,205,100).</p>
<dl class="section see"><dt>参见</dt><dd>indent </dd></dl>

</div>
</div>
<a id="a44bc9ae53d6abaa988e035ebd732c7ea" name="a44bc9ae53d6abaa988e035ebd732c7ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44bc9ae53d6abaa988e035ebd732c7ea">&#9670;&nbsp;</a></span>bgPressedColor</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">XPushButtonFunction::bgPressedColor</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>control the background's bgPressedColor </p>
<p >The default bgPressedColor is qRgba(245,225,195,100).</p>
<dl class="section see"><dt>参见</dt><dd>indent </dd></dl>

</div>
</div>
<a id="a35d6ac2144ee758b7b7030be2ee6e944" name="a35d6ac2144ee758b7b7030be2ee6e944"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35d6ac2144ee758b7b7030be2ee6e944">&#9670;&nbsp;</a></span>displayEnable</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">XPushButtonFunction::displayEnable</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>control the MyLabel whether or not display </p>
<p >True or False corresponds to display or undisplay.</p>
<p >The default DisplayEnable is true.</p>
<dl class="section see"><dt>参见</dt><dd>indent </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li><a class="el" href="xpushbuttonfunction_8h_source.html">xpushbuttonfunction.h</a></li>
<li><a class="el" href="xpushbuttonfunction_8cpp.html">xpushbuttonfunction.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
